Tries to get as a TValue type, the value of the variable with the corresponding name, by requesting a read to the underlying persistence strategy. If that value is encrypted a decryption request to the encryption strategy is automatically issued to ensure the deliver of plain values.

Name Description
TryGetVariableAs<TValue>(string, out TValue) Tries to get as a TValue type, the value of the variable with the corresponding name, by requesting a read to the underlying persistence strategy. If that value is encrypted a decryption request to the encryption strategy is automatically issued to ensure the deliver of plain values.
TryGetVariableAs<TValue>(string, string, out TValue) Tries to get as a TValue type, the value of the variable in the specified section and with the corresponding name, by requesting a read to the underlying persistence strategy. If that value is encrypted a decryption request to the encryption strategy is automatically issued to ensure the deliver of plain values.